//将公共css导入
@import "public.less";
@import "contentCommon.less";
//css变量
// @a:absolute;
// @r:relative;
// @bc:#e0e0e0;
// @z:#d6555f;
// @zt:#777777;
// html{
    // min-width: 1200px;
// }
.hidden{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.background{
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.reMore{
    width: 100%;
    height: 20px;
    text-align: center;
    line-height: 20px;
    color: #d6555f;
    cursor: pointer;
    display: block;
    font-size: 13px;
    position: relative;
    top: 10px;
}
//轮播图
@mar:200px;
.ba{
    width: 100%;
    height: 400px;
    // max-width: 2000px;
    min-width: 100%;
    background-color: skyblue;
    // margin-bottom: @mar + 20px;
    position: @r;
    background-image: url(../img/20210612223132_33e75.jpeg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    .heardBanner,.aaa{
        width: 1270px;
        max-width: 100%;
        height: 236px;
        background-color: white;
        position: @a;
        top: 150px;
        left: 50%;
        transform: translateX(-50%);
        border: 1px solid @bc;
        border-bottom: none;
        margin-top: 15px;
        opacity: 0.3;
    }
    .aaa{
        top: 400px;
        margin-top: 0px;
        background-color: #dadada;
    }
}
.shufflingFigure{
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    margin-top: @mar;
    height:400px;
    position: @r;
    border:1px solid @bc;
    background-color: #ffffff;
    display: flex;
    .sFLeft{
        width: 100%;
        height: 100%;
        &:hover .imgRight{
            display: block;
        }
        &:hover .imgLeft{
            display: block;
        }
        .sFContainer{
            width: 100%;
            height: 100%;
            background-color: white;
            position: @r;
            .imgVessel{
                position: @a;
                height: 100%;
                width: 100%;
                opacity:1;
                transition: all 1s;
                font-size: 100px;
                background-position: center;
                background-size: cover;
                background-repeat: no-repeat;
                .adorn{
                    width: 100%;
                    height: 100%;
                    position: @a;
                    top: 0;
                    left: 0;
                    .adornVessel{
                        width: 100%;
                        height: 100%;
                        box-sizing: border-box;
                        padding: 20px;
                        .adornBorder{
                            width: 100%;
                            height: 100%;
                            border: 3px solid white;
                            position: relative;
                            .title{
                                position: absolute;
                                width: 70%;
                                height: 70px;
                                font-size: 40px;
                                top: 50%;
                                left: 50%;
                                transform: translate(-50%,-50%);
                                padding: 10px;
                                box-sizing: border-box;
                                border-bottom: 2px solid white;
                                color: white;
                                text-align: center;
                                .hidden();
                                &::after{
                                    content:"";
                                    width: 50px;
                                    height: 50px;
                                    position: absolute;
                                    top: -50px;
                                    left: -50px;
                                    background-image: url(../img/stars.png);
                                    background-repeat: no-repeat;
                                    background-position: center;
                                    background-size: cover;
                                    z-index: 2;
                                }
                                &::before{
                                    content:"";
                                    width: 50px;
                                    height: 50px;
                                    position: absolute;
                                    top: -50px;
                                    right: -50px;
                                    background-image: url(../img/stars.png);
                                    background-repeat: no-repeat;
                                    background-position: center;
                                    background-size: cover;
                                    z-index: 2;
                                }
                            }
                        }
                    }
                }
            }
        }
        .pointVessel{
            position: absolute;
            bottom: 50px;
            left: 0;
            width:100%;
            height: 15px;
            display: flex;
            justify-content:center;
            z-index: 2;
            .point{
                width: 15px;
                height: 15px;
                cursor: pointer;
                border: solid 3px white;
                margin: 0 20px;
                border-radius:50%;
                transition: all 1s;
            }
        }
        .LeftRight{
            width: 50px;
            height: 80px;
            background-color: rgba(0,0,0,.3);
            position: @a;
            top: 50%;
            transform: translateY(-50%);
            z-index: 3;
            cursor: pointer;
            background-position: center;
            background-repeat: no-repeat;
            background-size: 80%;
            display: none;
        }
        .imgLeft{
            .LeftRight();
            left: 0;
            border-bottom-right-radius: 10px;
            border-top-right-radius: 10px;
            background-image: url(../img/left.png);
        }
        .imgRight{
            .LeftRight();
            right: 0%;
            border-bottom-left-radius: 10px;
            border-top-left-radius: 10px;
            background-image: url(../img/right.png);
        }
    }
    
}

//中间middle
.middle{
    width: 1270px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    margin-top: 300px;
    display: flex;
    @media (max-width: 1200px){
        display: block;
    }
    .middleLeft{
        width: 75%;
        overflow: hidden;
        float: left;
        @media (max-width: 1200px){
            width:100%;
        }
        .middleNav{
            width: 100%;
            height: 50px;
            // padding: 10px 0;
            box-sizing: content-box;
            border-bottom: 1px solid @bc;
            .navContent{
                width: 50%;
                height: 100%;
                line-height: 50px;
                text-align: center;
                float: left;
                // padding: 10px 100px;
                cursor: pointer;
                .navC{
                    width: 100%;
                    height: 100%;
                    line-height: 50px;
                }
            }
            .daily{
                background-color: rgba(214, 85, 95, .3);
                .navC{
                    color: @z;
                }
            }
        }
        .dailyDunamic{
            margin-top: 20px;
            width: 100%;
            overflow: hidden;
            &:nth-of-type(3){
                display: none;
            }
        }
    }
    .middleRight{
        width: 25%;
        overflow: hidden;
        padding: 0 20px 20px 0;
        @media (max-width: 1200px){
            width: 100%;
            padding: 0;
        }
        .mdRcontainer{
            margin-top: 20px;
            width: 100%;
            overflow: hidden;
            border: 1px solid @bc;
            padding: 20px;
            @media (max-width: 1200px){
                width: 50%;
                float: left;
                margin-top: 0;
            }
            .recommend{
                color: @zt;
                width: 100%;
                height: 30px;
                border-bottom: 2px solid @bc;
                font-weight: 900;
                position: @r;
            }
            .hotContainer{
                width: 100%;
                padding: 10px 0;
                border-bottom:1px solid @bc;
                overflow: hidden;
                @media (max-width: 1200px){
                    height: 280px;
                }
                .hot{
                    padding: 5px 10px;
                    float: left;
                    border: 1px solid @bc;
                    margin-right: 10px;
                    margin-top: 10px;
                    border-radius: 28px;
                    color: @zt;
                    cursor: pointer;
                    transition: all .3s;
                    &:hover{
                        background-color: rgba(214, 85, 95, .3);
                        color: white;
                        border: 1px solid white;
                    }
                }
            }
            // .reMore{
                
            // }
        }
    }
}

//推荐关注
.setRight{
    border-top: none;
    padding: 20px;
    box-sizing: border-box;
    border: solid 1px @bc;
    @media (max-width: 1200px){
        width: 50%;
        float: left;
    }
    .recommend{
        width: 100%;
        height: 30px;
        border-bottom: 2px solid @bc;
        font-weight: 900;
        position: @r;
        color: @zt;
        .refresh{
            position: relative;
            top: -26px;
            left: 199px;
            width: 50px;
            height: 30px;
            line-height: 30px;
            text-align: center;
            font-size: 14px;
            font-weight: 400;
            color: @z;
            cursor: pointer;
        }
    }
    .reContent{
        width: 100%;
        height: 270px;
        border-bottom: 1px solid @bc;
        margin-top: 10px;
        .reAttention{
            width: 100%;
            height: 45px;
            margin-bottom: 10px;
            cursor: pointer;
            clear: both;
            // display: inline-flex;
            display: grid;
            grid-template-rows: 100% ;
            grid-template-columns: 50px auto 50px;
            .reHeard{
                width: 45px;
                height: 45px;
                border-radius: 50%;
                float: left;
                background-image: url(../img/a.jpg);
                .background();
            }
            .nameAbstract{
                // width: 150px;
                height: 45px;
                .hidden();
                float: left;
                margin-left: 5px;
                .reName{
                    width: 100%;
                    height: 50%;
                    font-weight: 600;
                    line-height: 22.5px;
                    font-size: 12px;
                    .hidden();
                }
                .reAbstract{
                    width: 100%;
                    height: 50%;
                    font-size: 12px;
                    color: #777;
                    .hidden();
                }
            }
            .focusBtn{
                width: 50px;
                height: 25px;
                text-align: center;
                line-height: 25px;
                background-color: #fda1a9;
                color: #ffffff;
                float: left;
                margin-left: 5px;
                margin-top: 10px;
                font-size: 14px;
            }
        }
    }
    // .reMore{
        
    // }
}
.noneFollow{
    text-align: center;
    font-size: 18px;
    color: @z;
    margin-top: 20px;
}
.contentImg.contentImg{
    cursor: pointer;
}

.likeNum,.loveNum{
    display: inline;
}

.reportBox{
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.6);
    z-index: 999;
    .reportContent{
        width: 500px;
        height: 200px;
        background-color: white;
        position: relative;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        padding: 20px;
        .reportTop{
            display: flex;
            color: @zt;
            text-align: center;
            border-bottom: solid 1px @bc;
            padding-bottom: 5px;
            h3{
                flex: 1;
            }
            .closeReport{
                position: @r;
                bottom: 6px;
                font-size: 20px;
                cursor: pointer;
            }
        }
        .reportCenter{
            text-align: center;
            position: relative;
            padding: 30px 0px;
            .reportInput{
                border: solid 1px @bc;
                background-color: rgb(252, 250, 249);
                text-indent: 5px;
                padding: 5px 0px;
                width: 310px;
                outline: none;
                height: 35px;
            }
            .reportUl{
                list-style: none;
                width: 310px;
                background-color: rgb(252, 250, 249);
                max-height: 100px;
                overflow: scroll;
                overflow-x: visible;
                margin: 0 auto;
                color: @zt;
                font-size: 14px;
                border: solid 1px @bc;
                display: none;
                position: absolute;
                left: 75px;
                .reportList{
                    padding: 2px 0px;
                    transition: 0.2s;
                    cursor: pointer;
                    &:hover{
                        color: @z;
                    }
                }
            }
            
            .icon-xiajiantou{
                position: absolute;
                font-size: 22px;
                top: 36px;
                color: #ffbfc5;
                left: 357px;
            }
        }
    }
    
}
.reportBtn{
    text-decoration: none;
    box-sizing: border-box;
    background-color: #fabec3;
    width: 87px;
    padding: 10px 0px;
    border: none;
    cursor: pointer;
    text-align: center;
    color: white;
    border-radius: 10px;
    margin: 0 auto;
}


.toTop{
    display: none;
    width: 50px;
    height: 50px;
    line-height: 40px;
    text-align: center;
    position: fixed;
    color: #fabec3;
    bottom: 60px;
    left: 90px;
    border: solid 1px #fabec3;
    padding: 5px;
    cursor: pointer;
    z-index: 99999;
    >i{
        font-size: 30px;
    }
}
.loading{
    width: 100%;
    border: solid 1px @bc;
    text-align: center;
    padding: 10px 0px;
    display: inline-flex;
    justify-content: center;
    >img{
        margin-right: 5px;
        width: 30px;
    }
    >p{
        line-height: 30px;
    }
}